<div class="main">
<?php if (m('user')->logined()):?>
<div class="top_menu">
<?php m('tos')->block('menu')->menu('tos_top_menu')->display();?>
</div>
<?php endif?>
<h1><a href="<?php echo tos_url();?>"><?php echo m('app')->get_site_caption();?></a></h1>
</div>